/**
 * 封装axios请求拦截器
 */
import router from '@/router'
import axios from 'axios'
let server = axios.interceptors.request.use(
  response => {
    return response
  },
  error => {
    return Promise.reject(err)
  }
)

axios.defaults.baseURL = '/newcomersSystem'
export default server
